home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Tools & Apps / Misc. Utilities / Installer / Installer 3.3 / Installer 3.3 Interfaces / ActionAtomIntf.p < prev    next >
Encoding:
Text File  |  1992-01-22  |  1.5 KB  |  57 lines  |  [TEXT/MPS ]

  1. {
  2.     File:        ActionAtomIntf.p
  3.  
  4.     Contains:    Pascal declarations for things the Installer wants to tell 
  5.                 action atoms about.
  6.  
  7.     Written by:    Bobby Carp
  8.  
  9.     Copyright:    © 1990 by Apple Computer, Inc., all rights reserved.
  10.  
  11.     Change History (most recent first):
  12.  
  13.          <3>     11/5/91    RRK        Added Function prototype comment
  14.          <2>     11/7/90    BAC        Adding the AAPBRec that defines the parameters an action atom
  15.                                     receives.
  16.          <1>     10/8/90    BAC        first checked in
  17.  
  18.     To Do:
  19. }
  20.  
  21. UNIT ActionAtomIntf;
  22.  
  23. INTERFACE
  24.  
  25. TYPE
  26.     { A parameter passed to the action atom tells whether it is being executed before installation }
  27.     { takes place, after it has taken place, or we're being called after the user hit cancel or stop. }
  28.  
  29.     InstallationStage = (before, after, cleanUpCancel);
  30.     
  31.     { The action atom param block record contains all of the parameters that action atoms }
  32.     { receive.  The first (and only) parameter to action atoms is a ptr to this block (AAPBRecPtr) }
  33.     
  34.     AAPBRecPtr = ^AAPBRec;
  35.     AAPBRec = RECORD
  36.         targetVRefNum:        INTEGER;
  37.         blessedDirID:        LONGINT;
  38.         aaRefCon:            LONGINT;
  39.         doingInstall:        BOOLEAN; 
  40.         whichStage:            InstallationStage; 
  41.         didLiveUpdate:        BOOLEAN; 
  42.         installerTempDirID:    LONGINT;
  43.     END;
  44.     
  45.     { The function prototype for the format 0 Action Atom code is as follows  }
  46.     
  47.     { FUNCTION    MyActionAtom(myAAPBPtr : AAPBRecPtr) : Boolean;                }
  48.     
  49.  
  50.     { The function prototype for the format 1 Action Atom code is as follows  }
  51.     
  52.     { FUNCTION    MyActionAtom(myAAPBPtr : AAPBRecPtr) : LongInt;                }
  53.     
  54.  
  55.  
  56. END.
  57.